home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ecltray / readme.txt < prev    next >
Encoding:
Text File  |  1998-04-21  |  2.8 KB  |  64 lines

  1. Ecltray.ocx
  2. -----------
  3.  
  4. Note: To view this page properly, please turn the 'Word Wrap' option in the Edit Menu of Notepad.exe
  5.  
  6. Writer:  Elito C. Lelina III
  7.      ECLIPSE« Development Software
  8. URL:     http://www.geocities.com/SiliconValley/Campus/3118
  9. email:     eclipseds@hotmail.com
  10. License: FreeWare
  11.  
  12. The Ecltray is released as freeware.  Use is as you please! However, sending a copy of your program using the control will be greatly appreciated. I wrote this program because all the similar control I found on the net doesn't work when VB Service Pack release 3 is installed. So I created this for people having the same problem.
  13.  
  14. Installation
  15. ------------
  16.  
  17. To install the OCX, do the following:
  18.  
  19. copy the Ecltray.ocx and Ecltray.hlp files to Window\System folder. This is the proper location to place the file but you can place them in any folder you want
  20.  
  21. type the following command from that directory: REGSVR32 ECLTRAY.OCX. If you do not have regsvr32.exe available, you can download it from my website.
  22.  
  23. Now, run Visual Basic. You should be able see the Ecltray available from the Project Components option.
  24.  
  25. Note: Placing the control on a form will bring the 'About Box'. This will not appear again unless you choose the About property or invoke the showaboutbox event of the control.
  26.  
  27. Pressing F1 on the control will bring up help.
  28.  
  29.  
  30. Notes on use:
  31. -------------
  32.  
  33. The image for the System tray must be an Icon file. This is a windows limitation. Any size and color depth will be accepted but it shall be reduced to 16x16x16 color depth icon. So, to display best the icon you want, create them in 16x16 pixels.
  34.  
  35. If you do not supply an icon, the VB icon shall be used(default).
  36.  
  37. Be sure to try out the sample program to see how it works and to see fully commented code on it's use.
  38.  
  39. If you want to bring a popup menu when the tray icon is clicked, call "SetForegroundWindow (Me.hwnd)" before calling the popup menu.  This is the proper way to call a popup menu, so that it disappears when you click outside the menu. The SetForegroudWindow is an API call, be sure to declare it.
  40.  
  41. See supplied example when using the exit command on a popup menu.
  42.  
  43. Questions?  Comments? Like to thank me? 
  44. ---------------------------------------
  45.  
  46. Send E-Mail to eclipseds@hotmail.com
  47.  
  48. Wish to thank me in a greater manner:
  49.  
  50. Sending a copy of any program you write using my control will be greatly appreciated. Or of course, nobody turns down money. However, send half of the amount you wish to send me to your favorite charity, using your name as the donor.
  51.  
  52. Visit my Homepage at:
  53. http://www.geocities.com/SiliconValley/Campus/3118
  54.  
  55. -the S, V and C must be capitalized or you will not find the site.
  56.  
  57.  
  58.     - Elito C. Lelina III -
  59.      ECLIPSE« Development Software
  60.  
  61.  
  62. --------------------------
  63.  ½½ John 3:16 -ECLIPSE ╗╗
  64. --------------------------